package com.icongyou.enterprise.talent_analysis.entity.dto;

import com.icongyou.enterprise.talent_analysis.entity.template.TemplateDimension;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

@Data
public class PortraitTemplateCreateRequest {
    @NotBlank(message = "enterpriseId 不能为空")
    private String enterpriseId;

    @NotBlank(message = "模板名称不能为空")
    private String templateName;

    private String description;

    private Boolean active;

    private Boolean aiSuggested;

    private String createdBy;

    @Valid
    @NotEmpty(message = "必须提供维度配置")
    @Size(min = 6, max = 6, message = "默认模板需包含 6 个维度")
    private List<TemplateDimension> dimensions;
}
